/**
 * 
 */
package org.jenkon.io.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * Util class with helping methods for handling io.
 * 
 * @author Jens Konopka
 * 
 */
public final class IOUtils {

	/**
	 * 
	 */
	private IOUtils() {
	}

	/**
	 * @param closeable {@link Closeable}
	 */
	public static void close(final Closeable closeable) {
		try {
			if (closeable != null) {
				closeable.close();
			}
		} catch (final IOException e) {
			// do nothing, ignore
		}
	}

}
